home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 41
/
Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso
/
-seriously_amiga-
/
misc
/
wordpad
/
install.script
< prev
next >
Wrap
Text File
|
1999-04-19
|
4KB
|
146 lines
;$VER: WordPad Installer v0.2 (5/4/99)
;set some message stuff-----------------------
(procedure english (
(set MSG_WELCOME "\n\nWelcome to the installation of Wordpad,\ndo you wish to proceed?")
(set MSG_DESTINATION "\nWhere do you want Wordpad to be installed.\nA drawer will be created.")
(set MSG_COPY "\nCopying source files\n")
(set MSG_NOMUI "You Have no installation of MUI,\nwhich is required for WordPad to Run.\nPlease install MUI Before Proceeding with this installation")
))
(if (= @language "english") (english))
(message (MSG_WELCOME))
(set drive_dir
(askdir (prompt (MSG_DESTINATION))
(help @askdir-help)
(default @default-dest)
(newpath))
)
(set dest_dir (tackon drive_dir "Wordpad"))
(makedir dest_dir)
(copyfiles (source "bin/images/WordPad.info")
(dest drive_dir)
)
(set @default-dest dest_dir)
(copyfiles (prompt (MSG_COPY "Wordpad" @default-dest))
(help @copyfiles-help)
(source "bin/Wordpad")
(dest dest_dir)
)
(copyfiles (source "bin/Wordpad.info")
(dest dest_dir)
)
(set images_dir (tackon dest_dir "Images"))
(makedir images_dir)
(copyfiles (source "bin/Images.info")
(dest dest_dir)
)
(copyfiles (source "bin/Images/main.toolbar")
(dest images_dir)
)
(copyfiles (source "bin/Images/fimages.bsh")
(dest images_dir)
)
(copyfiles (source "bin/Wordpad.guide")
(dest dest_dir)
)
(copyfiles (source "bin/Wordpad.guide.info")
(dest dest_dir)
)
(complete 80)
;Copy MUI MCC's--------------------------
(copylib (prompt "MUI - TextEditor.mcc")
(source "bin/mui/TextEditor.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TextEditor.mcp")
(source "bin/mui/TextEditor.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - Toolbar.mcc")
(source "bin/mui/Toolbar.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - Toolbar.mcp")
(source "bin/mui/Toolbar.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TearOffBay.mcc")
(source "bin/mui/TearOffBay.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TearOffPanel.mcc")
(source "bin/mui/TearOffPanel.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TearOff.mcp")
(source "bin/mui/TearOff.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - CompactWindow.mcc")
(source "bin/mui/CompactWindow.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - CompactWindow.mcp")
(source "bin/mui/CompactWindow.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TWFmultiLED.mcc")
(source "bin/mui/TWFmultiLED.mcc")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(copylib (prompt "MUI - TWFmultiLED.mcp")
(source "bin/mui/TWFmultiLED.mcp")
(dest "MUI:Libs/MUI/")
(confirm 2)
(help @copylib-help)
)
(makedir "MUI:Images/SU_TearOff")
(set TO_Images "MUI:Images/SU_TearOff/")
(copyfiles (source "bin/mui/images/")
(dest TO_Images)
(all)
)
(exit (QUIET))